package 单例模式.枚举式;

public enum Single {

    INSTANCE;

    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

//    public static Single getInstance(){
//        return INSTANCE;
//    }
}
